﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class sms_send
    {
		public string id=null;
		public string phone=null;
		public string content=null;
		public string time=null;
		public string success=null;
		public string code=null;
        public string __name__;
        public sms_send(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.phone = string.Format("{0}.phone",__name__);
			this.content = string.Format("{0}.content",__name__);
			this.time = string.Format("{0}.time",__name__);
			this.success = string.Format("{0}.success",__name__);
			this.code = string.Format("{0}.code",__name__);
        }
        public sms_send()
        {
			this.id = string.Format("{0}.id",__name__);
			this.phone = string.Format("{0}.phone",__name__);
			this.content = string.Format("{0}.content",__name__);
			this.time = string.Format("{0}.time",__name__);
			this.success = string.Format("{0}.success",__name__);
			this.code = string.Format("{0}.code",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "sms_send";
            }
            else
            {
                return string.Format("sms_send as {0}",__name__);
            }
        }
    }
}